package base.switchCase;

public class SwitchTest {

    public static void main(String[] args) {
        String a = "0";
        int b = 0;
        switch (a){
            case "0":
                b = b+1;
            case "1":
                b = b+1;
                break;
            case "2":
                b = b+1;
                break;
            default:
                b = b+1;
        }
        System.out.println(b);
    }
}
